#ifndef INC_HACKYCOMPARES_H
#define INC_HACKYCOMPARES_H

/**
 * Hacky comparison function to find a shared_ptr from a built-in pointer.
 */
template<class T>
bool operator==(const boost::shared_ptr<T> &a, T* b)
{
	return a.get() == b;
}

#endif // INC_HACKYCOMPARES_H
